export class BeClient {
    avatar:string;
    clientID?: string;
    addressList: Array<AddressList>;
    agentCode: string;
    birthDay: string;
    carType: string;
    childNum: string;
    clientNum: string;
    houseType: string;
    insType: string;
    marriageType: string;
    name: string;
    occpCode: string;
    otherlns: string;
    phoneList: Array<PhoneList>;
    salary: string;
    sexCode: string;
    source: string;
    postCode:string;
}
export class PhoneList {
    phone: string;
}
export class AddressList {
    address: string;
    postCode: string
}

// 新版准客户
export class BeLead{
    addressList:address[];
    age:string;
    birthDate:string;
    carOwnership:number;
    childNum:number;
    defaultAddress:string;
    defaultMobile:string;
    houseOwnership:number;
    income:number;
    insType:number;
    leadId:string;
    marriageType:number;
    mobileList:mobile[];
    name:string;
    occupation:string;
    otherIns:number;
    partyId:string;
    postcode:string;
    remark:string;
    sex:string;
    source:string;
    favorite: boolean;
}
export class address{
    address:string;
    defaultIndicator:number;
    id:string;
    locationLatitude:string;
    locationLongitude:string;
}

export class mobile{
    defaultIndicator:number;
    id:string;
    mobile:string;
}


// 婚育
export const Marry={
    1:'已婚',
    2:'未婚',
    3:'未知'
};
// 子女
export const Child={
    0:'0个',
    1:'1个',
    2:'2个',
    3:'3个及以上'
};
// 购买类型
export const InType={
    1:'儿童成长',
    2:'养老规划',
    3:'健康保障',
    4:'人身保障',
    5:'财富保障'
};
// 空的电话列表
export const EmptyPhone=[{
    phone:''
}];
// 空的地址列表
export const EmptyAddress=[{
    address:'',
    postCode: ''
}];

// 客户详情中提取的客户基本信息
export class BaseInfo{
    clientId:string;
    clientPhone:string;
    clientName:string;
    clientType:number;
}
